<template>
  <div>
    {{ sum }} <button @click="addSum">增加</button>
  </div>
</template>

<script lang="ts" setup name="Person">
  import useSum from '../hooks/useSum'

  let { sum, addSum } = useSum()
</script>
